package com.bwie.domain;

import lombok.Data;
import org.dromara.easyes.annotation.HighLight;
import org.dromara.easyes.annotation.IndexField;
import org.dromara.easyes.annotation.IndexId;
import org.dromara.easyes.annotation.IndexName;
import org.dromara.easyes.annotation.rely.FieldType;
import org.dromara.easyes.annotation.rely.IdType;

import java.util.Date;

/**
 * es店铺信息
 *
 * @author <a href="mailto:3364114353@qq.com">liuwenliang</a>
 * @version 1.0
 * @description: es店铺信息
 * @date 2025/9/9 11:54
 */
@IndexName("shop")
@Data
public class EsShop {
    //编号
    @IndexId(type = IdType.CUSTOMIZE)
    private String id;
    //店铺名称
    @IndexField(fieldType = FieldType.TEXT)
    @HighLight
    private String shopName;
    //店铺负责人
    @IndexField(fieldType = FieldType.INTEGER)
    private Integer userId;
    //店铺录入时间
    private Date enterTime;
    //店铺合同开始时间
    private Date startTime;
    //店铺合同结束时间
    private Date endTime;
    //店铺合同数量
    @IndexField(fieldType = FieldType.INTEGER)
    private Integer contractNumber;
    //店铺简介
    @IndexField(fieldType = FieldType.TEXT)
    private String shopDesc;
    //店铺状态
    private String status;
}
